home *** CD-ROM | disk | FTP | other *** search
Unknown | 2003-02-28 | 1.7 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 66 1b 63 6c 61 73 73 20 |........|f.class |
|00000010| 44 43 41 63 74 69 6f 6e | 5f 4c 6f 6f 6b 41 74 41 |DCAction|_LookAtA|
|00000020| 63 74 6f 72 20 65 78 74 | 65 6e 64 73 20 44 43 68 |ctor ext|ends DCh|
|00000030| 61 72 41 63 74 69 6f 6e | 3b 0d 0a 0d 0a 76 61 72 |arAction|;....var|
|00000040| 28 41 63 74 69 6f 6e 29 | 20 65 64 66 69 6e 64 61 |(Action)| edfinda|
|00000050| 62 6c 65 20 41 63 74 6f | 72 20 54 61 72 67 65 74 |ble Acto|r Target|
|00000060| 20 20 20 20 20 22 74 68 | 69 6e 67 20 74 6f 20 6c | "th|ing to l|
|00000070| 6f 6f 6b 20 61 74 22 3b | 0d 0a 76 61 72 28 41 63 |ook at";|..var(Ac|
|00000080| 74 69 6f 6e 29 20 62 6f | 6f 6c 20 62 4b 65 65 70 |tion) bo|ol bKeep|
|00000090| 4c 6f 6f 6b 69 6e 67 20 | 20 20 20 20 20 20 20 20 |Looking | |
|000000a0| 20 20 22 6b 65 65 70 20 | 6c 6f 6f 6b 69 6e 67 20 | "keep |looking |
|000000b0| 61 74 20 74 68 69 73 20 | 74 68 69 6e 67 20 66 6f |at this |thing fo|
|000000c0| 72 20 64 75 72 61 74 69 | 6f 6e 22 3b 0d 0a 76 61 |r durati|on";..va|
|000000d0| 72 28 41 63 74 69 6f 6e | 29 20 62 6f 6f 6c 20 62 |r(Action|) bool b|
|000000e0| 4c 6f 6f 6b 41 74 50 6c | 61 79 65 72 20 20 20 20 |LookAtPl|ayer |
|000000f0| 20 20 20 20 20 20 22 6c | 6f 6f 6b 20 61 74 20 74 | "l|ook at t|
|00000100| 68 65 20 70 6c 61 79 65 | 72 3f 22 3b 0d 0a 76 61 |he playe|r?";..va|
|00000110| 72 28 41 63 74 69 6f 6e | 29 20 66 6c 6f 61 74 20 |r(Action|) float |
|00000120| 44 75 72 61 74 69 6f 6e | 20 20 20 20 20 20 20 20 |Duration| |
|00000130| 20 20 20 20 20 20 22 68 | 6f 77 20 6c 6f 6e 67 20 | "h|ow long |
|00000140| 74 6f 20 6c 6f 6f 6b 20 | 61 74 20 74 61 72 67 65 |to look |at targe|
|00000150| 74 20 28 2d 31 2e 30 20 | 66 6f 72 20 69 6e 66 69 |t (-1.0 |for infi|
|00000160| 6e 69 74 65 29 22 3b 0d | 0a 76 61 72 28 41 63 74 |nite)";.|.var(Act|
|00000170| 69 6f 6e 29 20 62 6f 6f | 6c 20 62 49 6e 73 74 61 |ion) boo|l bInsta|
|00000180| 6e 74 54 75 72 6e 09 09 | 09 22 69 6e 73 74 61 6e |ntTurn..|."instan|
|00000190| 74 6c 79 20 74 75 72 6e | 20 74 6f 77 61 72 64 73 |tly turn| towards|
|000001a0| 20 74 61 72 67 65 74 3f | 22 3b 0d 0a 76 61 72 28 | target?|";..var(|
|000001b0| 41 63 74 69 6f 6e 29 20 | 62 6f 6f 6c 20 62 42 6f |Action) |bool bBo|
|000001c0| 64 79 54 75 72 6e 3b 0d | 0a 76 61 72 28 41 63 74 |dyTurn;.|.var(Act|
|000001d0| 69 6f 6e 29 20 62 6f 6f | 6c 20 62 53 75 70 65 72 |ion) boo|l bSuper|
|000001e0| 49 6e 73 74 61 6e 74 54 | 75 72 6e 3b 0d 0a 76 61 |InstantT|urn;..va|
|000001f0| 72 28 41 63 74 69 6f 6e | 29 20 62 6f 6f 6c 20 62 |r(Action|) bool b|
|00000200| 41 75 74 6f 41 64 6a 75 | 73 74 54 61 72 67 65 74 |AutoAdju|stTarget|
|00000210| 09 09 22 63 68 61 72 66 | 61 63 74 6f 72 79 20 68 |.."charf|actory h|
|00000220| 61 6e 64 6c 69 6e 67 2c | 20 65 74 63 22 3b 0d 0a |andling,| etc";..|
|00000230| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 53 74 61 72 74 |..functi|on Start|
|00000240| 41 63 74 69 6f 6e 28 29 | 0d 0a 7b 0d 0a 20 20 20 |Action()|..{.. |
|00000250| 20 6c 6f 63 61 6c 20 44 | 47 61 6d 65 50 6c 61 79 | local D|GamePlay|
|00000260| 65 72 20 50 6c 61 79 65 | 72 3b 0d 0a 09 6c 6f 63 |er Playe|r;...loc|
|00000270| 61 6c 20 41 63 74 6f 72 | 20 4c 6f 6f 6b 54 61 72 |al Actor| LookTar|
|00000280| 67 65 74 3b 0d 0a 0d 0a | 20 20 20 20 69 66 20 28 |get;....| if (|
|00000290| 20 62 4c 6f 6f 6b 41 74 | 50 6c 61 79 65 72 20 29 | bLookAt|Player )|
|000002a0| 0d 0a 20 20 20 20 7b 0d | 0a 20 20 20 20 20 20 20 |.. {.|. |
|000002b0| 20 66 6f 72 65 61 63 68 | 20 47 65 74 42 6f 74 28 | foreach| GetBot(|
|000002c0| 29 2e 41 6c 6c 41 63 74 | 6f 72 73 28 20 63 6c 61 |).AllAct|ors( cla|
|000002d0| 73 73 27 44 47 61 6d 65 | 50 6c 61 79 65 72 27 2c |ss'DGame|Player',|
|000002e0| 20 50 6c 61 79 65 72 20 | 29 0d 0a 20 20 20 20 20 | Player |).. |
|000002f0| 20 20 20 20 20 20 20 69 | 66 20 28 20 50 6c 61 79 | i|f ( Play|
|00000300| 65 72 2e 49 73 48 75 6d | 61 6e 43 6f 6e 74 72 6f |er.IsHum|anContro|
|00000310| 6c 6c 65 64 28 29 20 29 | 0d 0a 20 20 20 20 20 20 |lled() )|.. |
|00000320| 20 20 20 20 20 20 7b 0d | 0a 20 20 20 20 20 20 20 | {.|. |
|00000330| 20 20 20 20 20 20 20 20 | 20 4c 6f 6f 6b 54 61 72 | | LookTar|
|00000340| 67 65 74 20 3d 20 50 6c | 61 79 65 72 3b 0d 0a 20 |get = Pl|ayer;.. |
|00000350| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 62 | | b|
|00000360| 72 65 61 6b 3b 0d 0a 20 | 20 20 20 20 20 20 20 20 |reak;.. | |
|00000370| 20 20 20 7d 0d 0a 20 20 | 20 20 7d 0d 0a 09 65 6c | }.. | }...el|
|00000380| 73 65 0d 0a 09 09 4c 6f | 6f 6b 54 61 72 67 65 74 |se....Lo|okTarget|
|00000390| 20 3d 20 54 61 72 67 65 | 74 3b 0d 0a 09 09 0d 0a | = Targe|t;......|
|000003a0| 09 69 66 20 28 20 62 41 | 75 74 6f 41 64 6a 75 73 |.if ( bA|utoAdjus|
|000003b0| 74 54 61 72 67 65 74 20 | 29 0d 0a 09 7b 0d 0a 09 |tTarget |)...{...|
|000003c0| 09 69 66 20 28 20 44 43 | 68 61 72 46 61 63 74 6f |.if ( DC|harFacto|
|000003d0| 72 79 28 54 61 72 67 65 | 74 29 3f 20 26 26 20 44 |ry(Targe|t)? && D|
|000003e0| 43 68 61 72 46 61 63 74 | 6f 72 79 28 54 61 72 67 |CharFact|ory(Targ|
|000003f0| 65 74 29 2e 42 6f 74 3f | 20 29 0d 0a 09 09 09 4c |et).Bot?| ).....L|
|00000400| 6f 6f 6b 54 61 72 67 65 | 74 20 3d 20 44 43 68 61 |ookTarge|t = DCha|
|00000410| 72 46 61 63 74 6f 72 79 | 28 54 61 72 67 65 74 29 |rFactory|(Target)|
|00000420| 2e 42 6f 74 3b 0d 0a 09 | 7d 0d 0a 09 09 0d 0a 09 |.Bot;...|}.......|
|00000430| 69 66 20 28 20 62 53 75 | 70 65 72 49 6e 73 74 61 |if ( bSu|perInsta|
|00000440| 6e 74 54 75 72 6e 20 29 | 0d 0a 09 7b 0d 0a 09 09 |ntTurn )|...{....|
|00000450| 47 65 74 42 6f 74 28 29 | 2e 53 65 74 52 6f 74 61 |GetBot()|.SetRota|
|00000460| 74 69 6f 6e 28 20 72 6f | 74 61 74 6f 72 28 54 61 |tion( ro|tator(Ta|
|00000470| 72 67 65 74 2e 4c 6f 63 | 61 74 69 6f 6e 20 2d 20 |rget.Loc|ation - |
|00000480| 47 65 74 42 6f 74 28 29 | 2e 4c 6f 63 61 74 69 6f |GetBot()|.Locatio|
|00000490| 6e 29 20 29 3b 0d 0a 09 | 09 47 65 74 42 6f 74 28 |n) );...|.GetBot(|
|000004a0| 29 2e 44 65 73 69 72 65 | 64 52 6f 74 61 74 69 6f |).Desire|dRotatio|
|000004b0| 6e 20 3d 20 47 65 74 42 | 6f 74 28 29 2e 52 6f 74 |n = GetB|ot().Rot|
|000004c0| 61 74 69 6f 6e 3b 0d 0a | 09 09 47 65 74 42 6f 74 |ation;..|..GetBot|
|000004d0| 28 29 2e 46 6f 63 75 73 | 20 3d 20 4c 6f 6f 6b 54 |().Focus| = LookT|
|000004e0| 61 72 67 65 74 3b 0d 0a | 09 09 46 69 6e 69 73 68 |arget;..|..Finish|
|000004f0| 41 63 74 69 6f 6e 28 29 | 3b 0d 0a 09 7d 0d 0a 09 |Action()|;...}...|
|00000500| 65 6c 73 65 0d 0a 09 69 | 66 20 28 20 21 62 49 6e |else...i|f ( !bIn|
|00000510| 73 74 61 6e 74 54 75 72 | 6e 20 29 0d 0a 09 7b 0d |stantTur|n )...{.|
|00000520| 0a 09 09 69 66 20 28 20 | 44 75 72 61 74 69 6f 6e |...if ( |Duration|
|00000530| 20 21 3d 20 2d 31 2e 30 | 20 29 0d 0a 09 09 09 4d | != -1.0| ).....M|
|00000540| 79 53 65 71 75 65 6e 63 | 65 2e 4d 79 46 61 63 74 |ySequenc|e.MyFact|
|00000550| 6f 72 79 2e 50 75 70 70 | 65 74 65 65 72 2e 4c 6f |ory.Pupp|eteer.Lo|
|00000560| 6f 6b 41 74 54 61 72 67 | 65 74 28 20 4c 6f 6f 6b |okAtTarg|et( Look|
|00000570| 54 61 72 67 65 74 2c 20 | 62 4b 65 65 70 4c 6f 6f |Target, |bKeepLoo|
|00000580| 6b 69 6e 67 2c 20 44 75 | 72 61 74 69 6f 6e 2c 20 |king, Du|ration, |
|00000590| 62 42 6f 64 79 54 75 72 | 6e 20 29 3b 0d 0a 09 09 |bBodyTur|n );....|
|000005a0| 65 6c 73 65 0d 0a 09 09 | 09 4d 79 53 65 71 75 65 |else....|.MySeque|
|000005b0| 6e 63 65 2e 4d 79 46 61 | 63 74 6f 72 79 2e 50 75 |nce.MyFa|ctory.Pu|
|000005c0| 70 70 65 74 65 65 72 2e | 4c 6f 6f 6b 41 74 54 61 |ppeteer.|LookAtTa|
|000005d0| 72 67 65 74 28 20 4c 6f | 6f 6b 54 61 72 67 65 74 |rget( Lo|okTarget|
|000005e0| 2c 20 62 4b 65 65 70 4c | 6f 6f 6b 69 6e 67 2c 2c |, bKeepL|ooking,,|
|000005f0| 20 62 42 6f 64 79 54 75 | 72 6e 20 29 3b 0d 0a 09 | bBodyTu|rn );...|
|00000600| 09 0d 0a 09 09 69 66 20 | 28 20 62 4c 6f 6f 6b 41 |.....if |( bLookA|
|00000610| 74 50 6c 61 79 65 72 20 | 29 0d 0a 09 09 09 54 61 |tPlayer |).....Ta|
|00000620| 72 67 65 74 20 3d 20 4e | 4f 4e 45 3b 0d 0a 09 09 |rget = N|ONE;....|
|00000630| 53 75 70 65 72 2e 53 74 | 61 72 74 41 63 74 69 6f |Super.St|artActio|
|00000640| 6e 28 29 3b 0d 0a 09 7d | 0d 0a 09 65 6c 73 65 0d |n();...}|...else.|
|00000650| 0a 09 7b 0d 0a 09 09 2f | 2f 47 65 74 42 6f 74 28 |..{..../|/GetBot(|
|00000660| 29 2e 44 65 73 69 72 65 | 64 52 6f 74 61 74 69 6f |).Desire|dRotatio|
|00000670| 6e 20 3d 20 72 6f 74 61 | 74 6f 72 28 20 54 61 72 |n = rota|tor( Tar|
|00000680| 67 65 74 2e 4c 6f 63 61 | 74 69 6f 6e 20 2d 20 47 |get.Loca|tion - G|
|00000690| 65 74 42 6f 74 28 29 2e | 4c 6f 63 61 74 69 6f 6e |etBot().|Location|
|000006a0| 20 29 3b 0d 0a 09 09 47 | 65 74 42 6f 74 28 29 2e | );....G|etBot().|
|000006b0| 46 6f 63 61 6c 50 6f 69 | 6e 74 20 3d 20 4c 6f 6f |FocalPoi|nt = Loo|
|000006c0| 6b 54 61 72 67 65 74 2e | 4c 6f 63 61 74 69 6f 6e |kTarget.|Location|
|000006d0| 3b 0d 0a 09 09 46 69 6e | 69 73 68 41 63 74 69 6f |;....Fin|ishActio|
|000006e0| 6e 28 29 3b 0d 0a 09 7d | 0d 0a 7d 0d 0a 0d 0a 00 |n();...}|..}.....|
+--------+-------------------------+-------------------------+--------+--------+